﻿using System.Collections.Generic;
using Sinergija13.DataModel.Models;
using Sinergija13.DataModels;
using Sinergija13.DataModel.Models.Conf;
using System.Windows.Media.Imaging;
using System;

namespace Sinergija13.DataModel
{
    public class StaticData
    {
        public static List<Track> GetTracks()
        {
            List<Track> tracks = new List<Track>();

            // default
            tracks.Add(new Track()
            {
                Id = -1,
                Code = "UNK",
                Title = "Unknown",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#ffffff"),
                BackgroundColor = ColorConverter.GetColorFromString("#aaffffff"),
                //ImageUri = "/Resources/Images/DEV.png"
            });

            // designator for all tracks
            tracks.Add(new Track()
            {
                Id = 0,
                Code = "ALL",
                Title = "All tracks",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#000000"),
                BackgroundColor = ColorConverter.GetColorFromString("#aa000000"),
                //ImageUri = "/Resources/Images/DEV.png"
            });

            tracks.Add(new Track()
            {
                Id = 1,
                Code = "DBI",
                Title = "Database & Business Intelligence",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#0071c5"),
                BackgroundColor = ColorConverter.GetColorFromString("#aa0071c5"),
                ImageUri = "/Resources/Icons/DBI.png"
            });

            tracks.Add(new Track()
            {
                Id = 2,
                Code = "DEV",
                Title = "Development Tools & Technologies / Windows Azure platform",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#ff6600"),
                BackgroundColor = ColorConverter.GetColorFromString("#aaff6600"),
                ImageUri = "/Resources/Icons/DEV.png"
            });

            tracks.Add(new Track()
            {
                Id = 3,
                Code = "SRV",
                Title = "Server, Management Tools & Security",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#6b8416"),
                BackgroundColor = ColorConverter.GetColorFromString("#aa6b8416"),
                ImageUri = "/Resources/Icons/SRV.png"
            });

            tracks.Add(new Track()
            {
                Id = 4,
                Code = "OFC",
                Title = "Office 365, Office &  SharePoint / Exchange & Lync",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#ffcc00"),
                BackgroundColor = ColorConverter.GetColorFromString("#aaffcc00"),
                ImageUri = "/Resources/Icons/OFC.png"
            });      

            tracks.Add(new Track()
            {
                Id = 5,
                Code = "WPC",
                Title = "Windows Client & Windows Phone",
                Description = String.Empty,
                Color = ColorConverter.GetColorFromString("#6633ff"),
                BackgroundColor = ColorConverter.GetColorFromString("#aa6633ff"),
                ImageUri = "/Resources/Icons/WPC.png"
            });

            return tracks;
        }
    }
}
